﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="info.aspx.cs" Inherits="AnyOffice.general.person_info.info" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>info</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<script Language="JavaScript">
function CheckForm()
{
   if(document.Form1.USER_NAME.value=="")
   { alert("姓名不能为空！");
     return (false);
   }
   return (true);
}

function CheckDate(op)
{
   mon=document.Form1.ddlBirthday_Mon.value;
   year=document.Form1.ddlBirthday_Year.value;

   if(mon=="4" || mon=="6" || mon=="9" || mon=="11")
   {
     if(document.Form1.ddlBirthday_Day.options.length>30)
         document.Form1.ddlBirthday_Day.remove(30);
     else if(document.Form1.ddlBirthday_Day.options.length<30)
     {
       if(document.Form1.ddlBirthday_Day.options.length==28)
       {
         var my_option = document.createElement("OPTION");
         my_option.text="29";
         my_option.value="29";
         document.Form1.ddlBirthday_Day.add(my_option);
       }

       var my_option = document.createElement("OPTION");
       my_option.text="30";
       my_option.value="30";
       document.Form1.ddlBirthday_Day.add(my_option);
     }
   }

   else if(mon=="2")
   {
     document.Form1.ddlBirthday_Day.remove(30);
     document.Form1.ddlBirthday_Day.remove(29);

     if(document.Form1.ddlBirthday_Day.options.length>28)
     if (!(year%400==0 || (year%4==0 && year%100!=0)))
       document.Form1.ddlBirthday_Day.remove(28);

     if(document.Form1.ddlBirthday_Day.options.length<29)
     if ((year%400==0 || (year%4==0 && year%100!=0)))
     {
       var my_option = document.createElement("OPTION");
       my_option.text="29";
       my_option.value="29";
       document.Form1.ddlBirthday_Day.add(my_option);
     }
   }
   else
   {
     if(document.Form1.ddlBirthday_Day.options.length<31)
     {
       if(document.Form1.ddlBirthday_Day.options.length==28)
       {
         var my_option = document.createElement("OPTION");
         my_option.text="29";
         my_option.value="29";
         document.Form1.ddlBirthday_Day.add(my_option);
       }

       if(document.Form1.ddlBirthday_Day.options.length==29)
       {
         var my_option = document.createElement("OPTION");
         my_option.text="30";
         my_option.value="30";
         document.Form1.ddlBirthday_Day.add(my_option);
       }

       var my_option = document.createElement("OPTION");
       my_option.text="31";
       my_option.value="31";
       document.Form1.ddlBirthday_Day.add(my_option);
     }
   }   
}
		</script>
	</HEAD>
	<body class="bodycolor" topmargin="5">
		<form id="Form1" method="post" runat="server">
			<asp:Panel id="pnlMain" runat="server">
				<TABLE class="small" cellSpacing="0" cellPadding="3" width="90%" border="0">
					<TR>
						<TD class="Big"><IMG height="16" src="/images/node_user.gif" width="16" align="absMiddle"><SPAN class="big3">
								个人资料</SPAN><BR>
						</TD>
					</TR>
				</TABLE>
				<TABLE class="small" cellSpacing="1" cellPadding="2" width="450" align="center" bgColor="#000000"
					border="0">
					<TR>
						<TD class="TableHeader" noWrap colSpan="2"><B>&nbsp;个人信息</B></TD>
					</TR>
					<TR>
						<TD class="TableData" noWrap>姓名：</TD>
						<TD class="TableData">
							<asp:TextBox id="txtUserName" runat="server" ReadOnly="True" Width="100px" CssClass="BigStatic"></asp:TextBox></TD>
					</TR>
					<TR>
						<TD class="TableData" noWrap>性别：</TD>
						<TD class="TableData">
							<asp:DropDownList id="ddlSex" runat="server" CssClass="BigSelect">
								<asp:ListItem Value="True">男</asp:ListItem>
								<asp:ListItem Value="False">女</asp:ListItem>
							</asp:DropDownList></TD>
					</TR>
					<TR>
						<TD class="TableData" noWrap>生日：</TD>
						<TD class="TableData"><!-------------- 年 ------------><SELECT class="BigSelect" id="ddlBirthday_Year" onchange="CheckDate();" name="ddlBirthday_Year"
								runat="server">
								<OPTION value="1900">1900</OPTION>
								<OPTION value="1901">1901</OPTION>
								<OPTION value="1902">1902</OPTION>
								<OPTION value="1903">1903</OPTION>
								<OPTION value="1904">1904</OPTION>
								<OPTION value="1905">1905</OPTION>
								<OPTION value="1906">1906</OPTION>
								<OPTION value="1907">1907</OPTION>
								<OPTION value="1908">1908</OPTION>
								<OPTION value="1909">1909</OPTION>
								<OPTION value="1910">1910</OPTION>
								<OPTION value="1911">1911</OPTION>
								<OPTION value="1912">1912</OPTION>
								<OPTION value="1913">1913</OPTION>
								<OPTION value="1914">1914</OPTION>
								<OPTION value="1915">1915</OPTION>
								<OPTION value="1916">1916</OPTION>
								<OPTION value="1917">1917</OPTION>
								<OPTION value="1918">1918</OPTION>
								<OPTION value="1919">1919</OPTION>
								<OPTION value="1920">1920</OPTION>
								<OPTION value="1921">1921</OPTION>
								<OPTION value="1922">1922</OPTION>
								<OPTION value="1923">1923</OPTION>
								<OPTION value="1924">1924</OPTION>
								<OPTION value="1925">1925</OPTION>
								<OPTION value="1926">1926</OPTION>
								<OPTION value="1927">1927</OPTION>
								<OPTION value="1928">1928</OPTION>
								<OPTION value="1929">1929</OPTION>
								<OPTION value="1930">1930</OPTION>
								<OPTION value="1931">1931</OPTION>
								<OPTION value="1932">1932</OPTION>
								<OPTION value="1933">1933</OPTION>
								<OPTION value="1934">1934</OPTION>
								<OPTION value="1935">1935</OPTION>
								<OPTION value="1936">1936</OPTION>
								<OPTION value="1937">1937</OPTION>
								<OPTION value="1938">1938</OPTION>
								<OPTION value="1939">1939</OPTION>
								<OPTION value="1940">1940</OPTION>
								<OPTION value="1941">1941</OPTION>
								<OPTION value="1942">1942</OPTION>
								<OPTION value="1943">1943</OPTION>
								<OPTION value="1944">1944</OPTION>
								<OPTION value="1945">1945</OPTION>
								<OPTION value="1946">1946</OPTION>
								<OPTION value="1947">1947</OPTION>
								<OPTION value="1948">1948</OPTION>
								<OPTION value="1949">1949</OPTION>
								<OPTION value="1950">1950</OPTION>
								<OPTION value="1951">1951</OPTION>
								<OPTION value="1952">1952</OPTION>
								<OPTION value="1953">1953</OPTION>
								<OPTION value="1954">1954</OPTION>
								<OPTION value="1955">1955</OPTION>
								<OPTION value="1956">1956</OPTION>
								<OPTION value="1957">1957</OPTION>
								<OPTION value="1958">1958</OPTION>
								<OPTION value="1959">1959</OPTION>
								<OPTION value="1960">1960</OPTION>
								<OPTION value="1961">1961</OPTION>
								<OPTION value="1962">1962</OPTION>
								<OPTION value="1963">1963</OPTION>
								<OPTION value="1964">1964</OPTION>
								<OPTION value="1965">1965</OPTION>
								<OPTION value="1966">1966</OPTION>
								<OPTION value="1967">1967</OPTION>
								<OPTION value="1968">1968</OPTION>
								<OPTION value="1969">1969</OPTION>
								<OPTION value="1970">1970</OPTION>
								<OPTION value="1971">1971</OPTION>
								<OPTION value="1972">1972</OPTION>
								<OPTION value="1973">1973</OPTION>
								<OPTION value="1974">1974</OPTION>
								<OPTION value="1975">1975</OPTION>
								<OPTION value="1976">1976</OPTION>
								<OPTION value="1977">1977</OPTION>
								<OPTION value="1978">1978</OPTION>
								<OPTION value="1979">1979</OPTION>
								<OPTION value="1980">1980</OPTION>
								<OPTION value="1981">1981</OPTION>
								<OPTION value="1982">1982</OPTION>
								<OPTION value="1983">1983</OPTION>
								<OPTION value="1984">1984</OPTION>
								<OPTION value="1985">1985</OPTION>
								<OPTION value="1986">1986</OPTION>
								<OPTION value="1987">1987</OPTION>
								<OPTION value="1988">1988</OPTION>
								<OPTION value="1989">1989</OPTION>
								<OPTION value="1990">1990</OPTION>
								<OPTION value="1991">1991</OPTION>
								<OPTION value="1992">1992</OPTION>
								<OPTION value="1993">1993</OPTION>
								<OPTION value="1994">1994</OPTION>
								<OPTION value="1995">1995</OPTION>
								<OPTION value="1996">1996</OPTION>
								<OPTION value="1997">1997</OPTION>
								<OPTION value="1998">1998</OPTION>
								<OPTION value="1999">1999</OPTION>
								<OPTION value="2000">2000</OPTION>
								<OPTION value="2001">2001</OPTION>
								<OPTION value="2002">2002</OPTION>
								<OPTION value="2003">2003</OPTION>
								<OPTION value="2004">2004</OPTION>
								<OPTION value="2005">2005</OPTION>
								<OPTION value="2006">2006</OPTION>
								<OPTION value="2007">2007</OPTION>
								<OPTION value="2008">2008</OPTION>
								<OPTION value="2009">2009</OPTION>
								<OPTION value="2010">2010</OPTION>
							</SELECT>年 <!-------------- 月 ------------><SELECT class="BigSelect" id="ddlBirthday_Mon" onchange="CheckDate();" name="ddlBirthday_Mon"
								runat="server">
								<OPTION value="1">01</OPTION>
								<OPTION value="2">02</OPTION>
								<OPTION value="3">03</OPTION>
								<OPTION value="4">04</OPTION>
								<OPTION value="5">05</OPTION>
								<OPTION value="6">06</OPTION>
								<OPTION value="7">07</OPTION>
								<OPTION value="8">08</OPTION>
								<OPTION value="9">09</OPTION>
								<OPTION value="10">10</OPTION>
								<OPTION value="11">11</OPTION>
								<OPTION value="12">12</OPTION>
							</SELECT>月 <!-------------- 日 ------------><SELECT class="BigSelect" id="ddlBirthday_Day" name="ddlBirthday_Day" runat="server">
								<OPTION value="1">01</OPTION>
								<OPTION value="2">02</OPTION>
								<OPTION value="3">03</OPTION>
								<OPTION value="4">04</OPTION>
								<OPTION value="5">05</OPTION>
								<OPTION value="6">06</OPTION>
								<OPTION value="7">07</OPTION>
								<OPTION value="8">08</OPTION>
								<OPTION value="9">09</OPTION>
								<OPTION value="10">10</OPTION>
								<OPTION value="11">11</OPTION>
								<OPTION value="12">12</OPTION>
								<OPTION value="13">13</OPTION>
								<OPTION value="14">14</OPTION>
								<OPTION value="15">15</OPTION>
								<OPTION value="16">16</OPTION>
								<OPTION value="17">17</OPTION>
								<OPTION value="18">18</OPTION>
								<OPTION value="19">19</OPTION>
								<OPTION value="20">20</OPTION>
								<OPTION value="21">21</OPTION>
								<OPTION value="22">22</OPTION>
								<OPTION value="23">23</OPTION>
								<OPTION value="24">24</OPTION>
								<OPTION value="25">25</OPTION>
								<OPTION value="26">26</OPTION>
								<OPTION value="27">27</OPTION>
								<OPTION value="28">28</OPTION>
								<OPTION value="29">29</OPTION>
								<OPTION value="30">30</OPTION>
								<OPTION value="31">31</OPTION>
							</SELECT>日&nbsp;
							<asp:CheckBox id="ckbIsHideBirthday" runat="server" Text="生日不公开"></asp:CheckBox></TD>
					</TR>
					<TR>
						<TD class="TableHeader" noWrap colSpan="2"><B>&nbsp;联系方式（单位）</B></TD>
					</TR>
					<TR>
						<TD class="TableData" noWrap>单位电话：</TD>
						<TD class="TableData">
							<asp:TextBox id="txtTelNoDept" runat="server" Width="200px" CssClass="BigInput" MaxLength="50"></asp:TextBox></TD>
					</TR>
					<TR>
						<TD class="TableData" noWrap>单位传真：</TD>
						<TD class="TableData">
							<asp:TextBox id="txtFaxNoDept" runat="server" Width="200px" CssClass="BigInput" MaxLength="50"></asp:TextBox></TD>
					</TR>
					<TR>
						<TD class="TableHeader" noWrap colSpan="2"><B>&nbsp;联系方式（家庭）</B></TD>
					</TR>
					<TR>
						<TD class="TableData" noWrap>电子邮件：</TD>
						<TD class="TableData">
							<asp:TextBox id="txtEmail" runat="server" Width="200px" CssClass="BigInput" MaxLength="50"></asp:TextBox></TD>
					</TR>
					<TR>
						<TD class="TableData" noWrap>家庭住址：</TD>
						<TD class="TableData">
							<asp:TextBox id="txtAddressHome" runat="server" Width="300px" CssClass="BigInput" MaxLength="100"></asp:TextBox></TD>
					</TR>
					<TR>
						<TD class="TableData" noWrap>家庭邮编：</TD>
						<TD class="TableData">
							<asp:TextBox id="txtZipHome" runat="server" Width="200px" CssClass="BigInput" MaxLength="50"></asp:TextBox></TD>
					</TR>
					<TR>
						<TD class="TableData" noWrap>家庭电话：</TD>
						<TD class="TableData">
							<asp:TextBox id="txtTelHome" runat="server" Width="200px" CssClass="BigInput" MaxLength="50"></asp:TextBox></TD>
					</TR>
					<TR>
						<TD class="TableData" noWrap>手机：</TD>
						<TD class="TableData">
							<asp:TextBox id="txtMobile" runat="server" Width="200px" CssClass="BigInput" MaxLength="50"></asp:TextBox>
							<asp:CheckBox id="ckbIsHideMobile" runat="server" Text="手机号码不公开"></asp:CheckBox><BR>
							填写后可接收OA系统发送的手机短信<BR>
							小灵通请加106及区号，如 106010xxxxxxxx
						</TD>
					</TR>
					<TR>
						<TD class="TableData" noWrap>小灵通：</TD>
						<TD class="TableData">
							<asp:TextBox id="txtBp" runat="server" Width="200px" CssClass="BigInput" MaxLength="50"></asp:TextBox></TD>
					</TR>
					<TR>
						<TD class="TableData" noWrap>OICQ号码：</TD>
						<TD class="TableData">
							<asp:TextBox id="txtOicq" runat="server" Width="200px" CssClass="BigInput" MaxLength="20"></asp:TextBox></TD>
					</TR>
						<TR>
						<TD class="TableData" noWrap>Icq号码：</TD>
						<TD class="TableData">
							<asp:TextBox id="txtIcq" runat="server" Width="200px" CssClass="BigInput" MaxLength="20"></asp:TextBox></TD>
					</TR>
					<TR>
						<TD class="TableData" noWrap>MSN：</TD>
						<TD class="TableData">
							<asp:TextBox id="txtMsn" runat="server" Width="200px" CssClass="BigInput" MaxLength="50"></asp:TextBox></TD>
					</TR>
					<TR>
						<TD class="TableData" noWrap>Skype帐户：</TD>
						<TD class="TableData">
							<asp:TextBox id="txtSkype" runat="server" Width="200px" CssClass="BigInput" MaxLength="50"></asp:TextBox></TD>
					</TR>
					<TR class="TableControl" align="center">
						<TD noWrap colSpan="2"><INPUT class="BigButton" type="submit" value="保存修改">&nbsp;&nbsp;<INPUT class="BigButton" onclick="location='index.aspx'" type="button" value="返回">
						</TD>
					</TR>
				</TABLE>
				<BR>
				<BR>
			</asp:Panel>
			<asp:Label id="lblMessage" runat="server"></asp:Label>
		</form>
	</body>
</HTML>
